# !/usr/bin/env python
# -*- coding: UTF-8 -*-
# date: 12/20/11 6:31 PM
# Filename: RESP_CODE.py

#
# Copyright 2011 Youku
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.


### constants ###
'''
1401	无效的pid
1402	无效的guid
1403	无效的ver
1404	无效的network
1405	无效的operator
1406	无效的视频标题
1407	无效的操作时间
1408	无效的使用模式，(mode值：1，广场模式；2，拍摄模式)
1409	无效的action，（action值：start、quit、toback、tofront）
1410	无效的位置信息
1411	无效的页面名称
1412	无效的无效的接口URI
1413	无效的接口响应时间
1414	无效的块名称
1415	无效的子块名称
1416	无效的操作对象ID
1417	无效的对象类型，（对象类型值：video、show）
1418	无效的操作行为，（操作行为：click、dclick、Lslide、Rslide、Uslide、Dslide、Ldrag、Rdrag）
'''

resp_code_success = str(1200)
resp_code_invalid_pid = str(1401)
resp_code_invalid_guid = str(1402)
resp_code_invalid_ver = str(1403)
resp_code_invalid_network = str(1404)
resp_code_invalid_operator = str(1405)
resp_code_invalid_title = str(1406)
resp_code_invalid_time = str(1407)
resp_code_invalid_mode = str(1408)
resp_code_invalid_action = str(1409)
resp_code_invalid_position = str(1410)
resp_code_invalid_page = str(1411)
resp_code_invalid_api = str(1412)
resp_code_invalid_resptime = str(1413)
resp_code_invalid_sec = str(1414)
resp_code_invalid_subsec = str(1415)
resp_code_invalid_id = str(1416)
resp_code_invalid_obtype = str(1417)
resp_code_invalid_act = str(1418)

